home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
003
/
members.arc
/
MDMODFRM.PRG
< prev
next >
Wrap
Text File
|
1986-10-16
|
1KB
|
50 lines
*----------------------------------------------------------------------
* Program : Membership Database Package
* File : MDMODFRM
* Function: Create/Modify Report Format Files
* Author : J. North
* Version : (AT contest)
* Date : 10/15/86
*----------------------------------------------------------------------
*
call curson
clear
@ 1, 1 to 5, 79 double
@ 3, 2 to 3, 78
@ 2, 3 say "Enter Report File Name >> .FRM"
@ 4, 4 say "Choose from the existing files below, or enter a new name to create one."
@ 6, 0 say ""
dir *.frm
fn=" "
clear gets
do while .T.
@ 2,29 get fn picture "!!!!!!!!"
read
if len(trim(fn))=0
call cursoff
return
endif
ffn=trim(fn)+".FRM"
if file(ffn)
exit
endif
@ 2, 44 say "<< Create new file? (Y/N)"
set console off
clear typeahead
wait "" to yn
set console on
if upper(yn) = "Y"
exit
endif
fn=" "
@ 2, 44 say " "
enddo
select 1
use members
clear
call curson
modify report &fn
call cursoff
use
return